package com.wan37.logic.chat.dao;

import com.wan37.logic.chat.domain.entity.PrivateChatDO;
import com.wan37.logic.dao.BaseDao;

import java.util.List;

/**
 * @author : luoyong
 * @date : 2020-07-27 15:07
 **/
public interface PrivateChatDao extends BaseDao<PrivateChatDO> {
    List<PrivateChatDO> getPrivateChatDOBySenderId(String senderId);

    List<PrivateChatDO> getPrivateChatDOByReceiverId(String receiverId);

    List<PrivateChatDO> getPrivateChatDOBySenderIdAndReceiverId(String senderId, String receiverId);
}
